package demo;

abstract public class Animal {
    public String name;
    public int age;
    public abstract void eat();

    public Animal(String name) {
        this.name = name;
    }
}
